$import( "SmitearWebGL.Objects.Parser.Collada.DaeEntity" );

SmitearWebGL.Objects.Parser.Collada.DaeBindVertexInput = SmitearWebGL.Objects.Parser.Collada.DaeEntity.extend(
{
	/******** constructor ********/

	init : function( document, node )
	{
		this.semantic = "";
		this.input_semantic = "";
		this.input_set = 0;

		this._super( document, node );
		this._registClass( "SmitearWebGL.Objects.Parser.Collada.DaeBindVertexInput" );
	}
	,
	read : function( node )
	{
		this._super( node );

		this.semantic = this.getAttribute(node, SmitearWebGL.Objects.Parser.Collada.Const.DAE_SEMANTIC_ATTRIBUTE);
		this.input_semantic = this.getAttribute(node, SmitearWebGL.Objects.Parser.Collada.Const.DAE_INPUT_SEMANTIC_ATTRIBUTE);
		this.input_set = this.getAttributeAsInt(node, SmitearWebGL.Objects.Parser.Collada.Const.DAE_INPUT_SET_ATTRIBUTE);
	}
}
);